package com.wash.shoes.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wash.shoes.domain.dto.ShopStsXcxDto;
import com.wash.shoes.domain.vo.StsOrderVo;
import com.wash.shoes.entity.RegionCustomerPo;
import com.wash.shoes.service.RegionCustomerService;
import com.wash.shoes.mapper.RegionCustomerMapper;
import com.wash.shoes.util.StsDateInfoUtil;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author jianguoli
 * @description 针对表【os_region_customer(分销商的客户)】的数据库操作Service实现
 * @createDate 2025-03-11 14:02:34
 */
@Service
public class RegionCustomerServiceImpl extends ServiceImpl<RegionCustomerMapper, RegionCustomerPo>
        implements RegionCustomerService {

    @Override
    public List<StsOrderVo> recommendDayUser(ShopStsXcxDto shopStsXcxDto) {
        List<StsOrderVo> dataList = this.baseMapper.recommendDayUser(shopStsXcxDto);
        return StsDateInfoUtil.processEmptyDays(dataList, shopStsXcxDto);
    }
}




